<template>
    <div class="container">
        <leftVue v-model="activ" v-model:release="release" :transferStation="(rigth?.transferStation as Function)"></leftVue>
        <Right ref="rigth" :index="activ" :release="release" :setRelease="setRelease"></Right>
    </div>
</template>

<script lang="ts" setup>
import { ref } from "vue"
import leftVue from "./left.vue";
import Right from "./right.vue";

let activ = ref<number>(1)
let release=ref<boolean>(false)
const setRelease=()=>{
    release.value=false
}
interface Right{
    transferStation:Function
}
let rigth=ref<Right>({
    transferStation(){}
})
</script>

<style lang=less  scoped>
.container {
    display: flex;
}
</style>